package com.huarui.sale.model;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import org.ewaf.framework.model.BaseDataObject;

/**
 * 急件
 * 
 * @author xu
 * 
 */
public class Express extends BaseDataObject {

	private static final long serialVersionUID = -713383448014210425L;

	private Integer id;
	/**
	 * 销售单ID
	 */
	private Integer saleId;
	/**
	 * 卖方ID
	 */
	private Integer sellerId;
	/**
	 * 卖方在买方系统中的客户ID
	 */
	private Integer partnerIdByBuyer;
	/**
	 * 买方ID
	 */
	private Integer buyerId;
	/**
	 * 买方的单据号
	 */
	private String codeOfBuyer;
	/**
	 * 卖方的单据号
	 */
	private String codeOfSeller;
	/**
	 * 状态
	 */
	private String status;
	/**
	 * 创建人
	 */
	private Integer creatorId;
	/**
	 * 创建时间
	 */
	private Date gmtCreate;
	/**
	 * 提交者ID
	 */
	private Integer submitter;
	/**
	 * 提交时间
	 */
	private Date gmtSubmit;
	/**
	 * 存库者ID
	 */
	private Integer deliveryerId;
	/**
	 * 发货时间
	 */
	private Date gmtDelivery;
	/**
	 * 收货时间
	 */
	private Date gmtRealDelivery;
	/**
	 * 买方备注
	 */
	private String memo;
	/**
	 * 总金额(销售)
	 */
	private BigDecimal amount;
	/**
	 * 流程ID
	 */
	private Integer workFlowId;
	/**
	 * 当前处理人ID
	 */
	private Integer currentorId;

	private List<ExpressItem> expressItems;

	public Express() {

	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getSaleId() {
		return saleId;
	}

	public void setSaleId(Integer saleId) {
		this.saleId = saleId;
	}

	public Integer getSellerId() {
		return sellerId;
	}

	public void setSellerId(Integer sellerId) {
		this.sellerId = sellerId;
	}

	public Integer getPartnerIdByBuyer() {
		return partnerIdByBuyer;
	}

	public void setPartnerIdByBuyer(Integer partnerIdByBuyer) {
		this.partnerIdByBuyer = partnerIdByBuyer;
	}

	public Integer getBuyerId() {
		return buyerId;
	}

	public void setBuyerId(Integer buyerId) {
		this.buyerId = buyerId;
	}

	public String getCodeOfBuyer() {
		return codeOfBuyer;
	}

	public void setCodeOfBuyer(String codeOfBuyer) {
		this.codeOfBuyer = codeOfBuyer;
	}

	public String getCodeOfSeller() {
		return codeOfSeller;
	}

	public void setCodeOfSeller(String codeOfSeller) {
		this.codeOfSeller = codeOfSeller;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getCreatorId() {
		return creatorId;
	}

	public void setCreatorId(Integer creatorId) {
		this.creatorId = creatorId;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Integer getSubmitter() {
		return submitter;
	}

	public void setSubmitter(Integer submitter) {
		this.submitter = submitter;
	}

	public Date getGmtSubmit() {
		return gmtSubmit;
	}

	public void setGmtSubmit(Date gmtSubmit) {
		this.gmtSubmit = gmtSubmit;
	}

	public Integer getDeliveryerId() {
		return deliveryerId;
	}

	public void setDeliveryerId(Integer deliveryerId) {
		this.deliveryerId = deliveryerId;
	}

	public Date getGmtDelivery() {
		return gmtDelivery;
	}

	public void setGmtDelivery(Date gmtDelivery) {
		this.gmtDelivery = gmtDelivery;
	}

	public Date getGmtRealDelivery() {
		return gmtRealDelivery;
	}

	public void setGmtRealDelivery(Date gmtRealDelivery) {
		this.gmtRealDelivery = gmtRealDelivery;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Integer getWorkFlowId() {
		return workFlowId;
	}

	public void setWorkFlowId(Integer workFlowId) {
		this.workFlowId = workFlowId;
	}

	public Integer getCurrentorId() {
		return currentorId;
	}

	public void setCurrentorId(Integer currentorId) {
		this.currentorId = currentorId;
	}

	public List<ExpressItem> getExpressItems() {
		return expressItems;
	}

	public void setExpressItems(List<ExpressItem> expressItems) {
		this.expressItems = expressItems;
	}

}
